home *** CD-ROM | disk | FTP | other *** search
- global gAdrs
-
- on mouseUp
- if integer(getAt(getAt(the desktopRectList, 1), 3)) < 1024 then
- DestFile = getOSDirectory() & "\ott800_2.bmp"
- SourceFile = gAdrs & "ImgDesk2\Img800\ott800_2.bmp"
- Ok = baCopyFile(SourceFile, DestFile, "Always+")
- if Ok <> 0 then
- sprite(25).visible = 1
- sprite(26).visible = 1
- updateStage()
- end if
- baSetWallpaper(getOSDirectory() & "\ott800_2.bmp", 1)
- else
- DestFile = getOSDirectory() & "\ott124_2.bmp"
- SourceFile = gAdrs & "ImgDesk2\Img1024\ott124_2.bmp"
- Ok = baCopyFile(SourceFile, DestFile, "Always+")
- if Ok <> 0 then
- sprite(25).visible = 1
- sprite(26).visible = 1
- updateStage()
- end if
- baSetWallpaper(getOSDirectory() & "\ott124_2.bmp", 1)
- end if
- end
-